# 与操作
[ -f "/etc/shadow" ] && echo shadow

# 或操作
mailfolder=/var/spool/mail/james
[ -r "$mailfolder" ] || { echo "Can not read $mailfolder"; exit 1; } 
echo "$mailfolder has mail from:" grep "^From " $mailfolder